home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
The World of Computer Software.iso
/
ztestr1.zip
/
ZTESTR1.DOC
< prev
next >
Wrap
Text File
|
1993-01-24
|
4KB
|
111 lines
Ztest v1.00 Release 1
Zip file down converter
Problem: (Sysops PLEASE read!)
User uploads a ZIP file that has been ZIPped with
version 2.04c of PKZIP. Your upload checker chokes, spits
fire and maybe even locks up your system. Then you threaten
your users with denied system access if they dare upload
another ZIP zipped with v2.04.
Cause of the problem:
The cause of the problem is not that your users are intent
on crashing your system, they are innocently attempting to
use the latest and greatest.
In most cases that I have seen, zip-related problems are caused
by a program that shells to DOS (unseen by you) and runs either
pkzip, pkunzip or sometimes both.
Most of the currently existing archive converters and archive
shells DO NOT properly interface with the version 2.04 of
PKWare's latest.
Now, I'm not here to defend PKWare, however I accept zips
zipped with v2.04 on my system only because ZTEST allows
me to do so until new archive shells, upload testers, etc.,
are released. I have been testing this program on my system
for two weeks now and have had absolutely NO PROBLEMS.
The Solution:
The solution to the entire problem (at least for the time being)
is simply to grab the upload (in your PCBTEST.BAT file) and
re-archive anything zipped with version 2.04 down to v1.10
and continue testing as usual. Simple, but VERY effective.
Setup:
1) Make a directory on your hard drive that is NOT pathed.
2) Place the NEW version of pkzip.exe and pkunzip.exe in
that new directory.
3) Also make sure that the OLD version 1.10 of pkzip.exe
and pkunzip.exe are in a directory that IS pathed.
4) Edit ZTESTR1.CFG to reflect the name and location of
all four pkware EXE files (once you look at the config
file it should almost be self-explanatory)
5) Edit your PCBTEST.BAT file(s) so that ZTESTR1 executes
BEFORE any further testing of the uploaded zip file.
Be sure to place it before the PCBDESC command!
The command for ZTESTR1 in PCBTEST.BAT is:
ZTEST1R %3
6) Be sure that ZTESTR1.CFG is in THE SAME DIRECTORY as
ZTESTR1.EXE. You can put both of these files in a
pathed directory, however, I strongly suggest that if
you are running a multi-node system that you put a copy
of each in each of your node directories because of
the temporary files created when converting an uploaded
zip.
Operation:
When ZTESTR1 runs, it will detect which version of PKZIP
the zip was zipped with and will re-archive it as the
same zip file name using v1.10 if it was zipped with v2.04.
It also checks for:
defective zips (zips that can't pass pkunzip -t)
files with the .ZIP extension that aren't really ZIPs
Ztestr1 will also reject zips containing and of the
files STGINFO.*, INCBBS.TXT, and INC.DAT for your protection
because they are almost always contained in a zip that is
a commercial program/game.
If the zip fails for one of the above reasons, ZTESTR1 will
write a file PCBFAIL.TXT in the directory from which ZTESTR1
was called.
If the zip passes testing (and conversion if it was needed),
ZTESTR1 will write a file PCBPASS.TXT in the directory from
which ZTESTR1 was called.
Disclaimer:
This program works for me, but it it may not work for you,
no guarentees!
Freeware:
This program is released to the public domain as freeware.
Comments, suggestions and donations (if you are feeling
generous and this program makes your sysop-ing easier)
should be addressed to:
Jim Lockhart, Sysop
Page Three BBS
227 Bennett St.
Winter Springs, Fl 32708
Page Three Phone numbers:
Node 1: 407-327-8421 2400-38.4k baud HST
Node 2: 407-327-4524 2400-38.4k baud v.32/v.42